package com.ruoyi.web.dto;

import com.ruoyi.framework.web.contants.AbnormalConstants;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 通过地址登录DTO
 *
 * @since 2023/3/20 15:15
 */
@Data
public class AppUserBindIdentityDTO {
    /**
     * 姓名
     */
    @NotBlank(message = AbnormalConstants.MANDATORY_PARAM_EMPTY_OR_MALFORMED)
    private String name;

    /**
     * 身份证号
     */
    @NotBlank(message = AbnormalConstants.MANDATORY_PARAM_EMPTY_OR_MALFORMED)
    private String identityNumber;
}
